public class demo002 {
    public static void main(String[] args){
        int a=2;
        int b=3;
        double x=3.5;
        double y=2.5;
        System.out.println((float)(a+b)/2+(int)x%(int)y);
    }
}
